xfi:c-equal-set

xs:boolean=xfi:c-equal-set( $left as node()*, $right as node()*)

Last updated on 06-03-2008 at 22:40:00.

Sets are formed from the items in each sequence, removing duplicates in the process of forming sets. Returns true if for every item in the left sequence's set there is a c-equal item in the right sequence's set, and the sets have the same count of members. (Because c-equal is defined by XBRL only for items, operation is restricted to nodes that are items.)

XBRL 2.1 Section 4.10

OIM Status

Unsupported

Parameters

Name Type Details
left node()* The first item or sequence of items.
right node()* The second item or sequence of items.

Output

Type: xs:boolean

Sets are formed from the items in each sequence, removing duplicates in the process of forming sets. Returns true if for every item in the left sequence's set there is a c-equal item in the right sequence's set, and the sets have the same count of members.

Errors

Code Details
xfie:NodeIsNotXbrlItem A dynamic error must be raised if any input element is not derived from xbrli:item.

Conformance suite

80208 xfi.c-equal-set testcase.xml [ download ]

Owners

Name Affiliation Email Start End
Herm Fischer UBMatrix / Mark V Systems fischer@markv.com 06-03-2008 at 22:40:00

Revisions

Name On Details
Herm Fischer 06-03-2008 at 22:40:00 Defined the function
Herm Fischer 19-12-2012 at 15:00:00 Clarified that sets are formed from the sequences, removing duplicates in the process of forming sets, and that operation is on the members of the (deduplicated) sets.